Skip to content

[codex] Add realistic protocol test fixtures - #831

Merged
RhysSullivan merged 16 commits into
mainfrom
codex/realistic-effect-test-fixtures
May 16, 2026
Merged

[codex] Add realistic protocol test fixtures#831
RhysSullivan merged 16 commits into
mainfrom
codex/realistic-effect-test-fixtures

Conversation

@RhysSullivan

Copy link
Copy Markdown
Collaborator

Summary

  • Add composable Effect/Vitest test workspace helpers and shared Effect HTTP server utilities.
  • Add realistic OAuth, OpenAPI, GraphQL, and MCP test servers with request capture and OAuth-protected variants.
  • Add Wrangler-deployable Cloudflare Worker test servers for smoke/e2e use.
  • Migrate existing protocol/OAuth tests to the shared realistic fixtures and remove ad hoc test servers where applicable.

Validation

  • bun run format:check
  • bun run lint
  • bun run typecheck
  • bun run test

Notes

  • packages/core/fumadb test:integration was not part of the root gate and still requires optional dependencies (mongodb, @libsql/client) in this checkout.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 16, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing 220ee0f Commit Preview URL

Branch Preview URL
May 16 2026, 06:06 PM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented May 16, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud 220ee0f May 16 2026, 06:06 PM

@pkg-pr-new

pkg-pr-new Bot commented May 16, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@831

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@831

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@831

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@831

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@831

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@831

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@831

@executor-js/plugin-google-discovery

npm i https://pkg.pr.new/@executor-js/plugin-google-discovery@831

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@831

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@831

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@831

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@831

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@831

executor

npm i https://pkg.pr.new/executor@831

commit: 220ee0f

@RhysSullivan
RhysSullivan marked this pull request as ready for review May 16, 2026 18:14
@RhysSullivan
RhysSullivan merged commit 4937349 into main May 16, 2026
11 checks passed
RhysSullivan added a commit that referenced this pull request May 31, 2026
* Add realistic protocol test fixtures

* Improve realistic protocol test fixtures

* Use Effect OpenAPI fixtures in remaining tests

* Share MCP echo test fixture

* Document deployable protocol test servers

* Cover test server discovery metadata

* Use OpenAPI fixture for scripted failure tests

* Clean up OpenAPI test source registration

* Use OpenAPI fixture in OAuth tests

* Use OpenAPI fixture in bearer tests

* Use explicit OpenAPI fixtures in plugin tests

* Use OpenAPI fixture in usage isolation tests

* Move custom MCP servers into fixtures

* Centralize OpenAPI test spec rendering

* Clean up OpenAPI test source fixtures

* Use Effect predicate in OAuth test
@RhysSullivan
RhysSullivan deleted the codex/realistic-effect-test-fixtures branch June 11, 2026 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant